package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("新二级商品批量购买的时候的购买列表请求参数")
public class NewSecondCollectionGoodsBuyListDTO {

    @NotNull(message = "参数缺失")
    @ApiModelProperty("购买类型 1:集售 2:自由交易")
    private Integer marketType;

    @NotNull(message = "参数缺失")
    @ApiModelProperty("藏品id")
    private Long collectionId;

    @NotNull(message = "参数缺失")
    @ApiModelProperty("购买数量")
    private Integer sum;

}
